const windows = {
    state: {
        windowStatus: 0, // 0是默认关闭状态，1是前台展示状态，2是后台待命状态
        appName: ''
    },

    getters: {
        windowStatus: state => state.windowStatus,
        appName: state => state.appName
    },

    mutations: {
        SET_STATUS(state, windowStatus){
            state.windowStatus = windowStatus
        },

        SET_APP_NAME(state, appName){
            state.appName = appName
        }
    },

    actions: {

    }
}

export default windows